home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / lan / netpak23.zip / A2T.DOC next >
Text File  |  1992-10-06  |  17KB  |  364 lines

  1.   ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  2.   ░░░░░░░░░╔═══════════════════════════════════════════════════════╗░░░░░░░░
  3.   ░░░░░░░░░║              ┌─────┐             ┌─────┐              ║  ░░░░░░
  4.   ░░░░░░░░░║              │  ─  │             └─┐ ┌─┘              ║  ░░░░░░
  5.   ░░░░░░░░░║              │ ┌─┐ │      2        │ │                ║  ░░░░░░
  6.   ░░░░░░░░░║              └─┘ └─┘               └─┘                ║  ░░░░░░
  7.   ░░░░░░░░░╚═══════════════════════════════════════════════════════╝  ░░░░░░
  8.   ░░░░░░░░░░░                                                         ░░░░░░
  9.   ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  10.  
  11.   A2T version 2.3d  copyright (c) Robert Kirby compuserve id 76620,2313
  12.  
  13.   Disclaimer:
  14.      Use this software at your own risk.  No guarantees or warranties.
  15.  
  16.   File info:
  17.   VALIDATE 0.3 Copyright 1988-89 by McAfee Associates.  (408) 988-3832
  18.         File Name:  a2t.exe
  19.          Size:  15,904
  20.          Date:  1-2-1990
  21.   File Authentication:
  22.        Check Method 1 - 49C6
  23.        Check Method 2 - 0A4F
  24.  
  25.   A2T.EXE --> executable program.
  26.   A2T.DOC --> the docs.
  27.  
  28.  
  29.        Introduction to A2T, the ASCII to Telix dial directory utility:
  30.  
  31.      This is a program to convert an ASCII file, such as a BBS list into
  32.   a Telix dialing directory.  The program is relatively fast and command
  33.   line driven.  I tailored the default configuration after a popular BBS
  34.   list that we have here in Houston called "Judy's List", and the most
  35.   common dialing directory settings for an IBM PC or compatible but these
  36.   defaults can all be overridden with the config parameter.
  37.      With A2T, I can set up all sorts of BBS lists that I download as a
  38.   Telix dialing directory without having to type them up.  A2T will compile
  39.   up to 1000 BBS names and numbers from an ASCII BBS list.
  40.      I have listed some configs for popular BBS lists towards the end of
  41.   this file.
  42.  
  43.   
  44.  
  45.  
  46.               Instructions for running A2T:
  47.  
  48.   1) setup the bbs list - this is crucial for proper results.
  49.   2) if you plan to overwrite your current Telix dial dir,
  50.      MAKE A BACKUP of the file named TELIX.FON!
  51.   2) run a2t
  52.  
  53.  
  54.      At this time, A2T has 3 optional parameters.  They are the input
  55.   parameter, the output parameter, and the config parameter.  The input
  56.   parameter is the name of your BBS list in ASCII form.  This must come
  57.   BEFORE the output parameter on the command line.  The output parameter
  58.   if the name of the dialing directory file to be created.  Both of these
  59.   parameters are optional.  If you leave the first one off, A2T will assume
  60.   you are using an ASCII input file called INPUT.BBS and the output file will
  61.   automatically be OUTPUT.FON.  To take advantage of the second optional
  62.   output filename parameter, you must enter the first parameter also.
  63.   No suffixes are assumed, that is you must enter them (if you want them)
  64.   in the filename parameters.  You may enter paths for these parameters.
  65.      The third optional parameter is the config parameter.  This is how
  66.   you control the compiling of your BBS list.  The third optional
  67.   parameter is preceeded by a forward slash, and then a code list
  68.   to inform A2T what you want done with the BBS list.  This parameter
  69.   can appear anywhere on the command line, but you may have only one config
  70.   parameter.  Config codes can be strung together in the config parameter.
  71.      If you enter no config parameter at all, you will be given a dialing
  72.   directory that will use 2400bps, and the BBS list should use a '.' for
  73.   the delimiter for the BBS name, and a ' ' for the delimiter for the
  74.   phone number.  This was the easiest way to compile Judy's list, but
  75.   you can override these defaults with config parameters.
  76.      The codes in the config parameter are listed after the forward slash
  77.   and can be combined in various ways but they must have the proper
  78.   syntax as described below.  Note in the descriptions below, a COLUMN is
  79.   the width of ONE character.  Only the first 80 characters in each line
  80.   of the BBS list can be processed.
  81.  
  82.  
  83.          Here are the config parameter definitions:
  84.  
  85.  
  86.   /?     where ? = ?  This simply displays a quick reference help screen.
  87.  
  88.  
  89.   /B?    where ? = 0, 1, 2, or 9
  90.        This is the Bps parameter code, and will define the bps rate that
  91.      you want in your dial dir.
  92.      Here are the code parameter definitions:
  93.      0 =  300 bps
  94.      1 = 1200 bps
  95.      2 = 2400 bps
  96.      9 = 9600 bps
  97.        Note: you'll soon find that the B parameter should be the last one
  98.      on your list.  If added to the N or P it will terminate processing
  99.      at that point, so make it the last one if you have more on the code
  100.      string.
  101.  
  102.  
  103.   /D?    where ? = S or , or . or * or 0
  104.        This is Delimiter parameter code.  When I first wrote A2T, I wrote
  105.      it for Judy's list which contained a period for the first delimiter
  106.      (which terminates the BBS name) and space for the second delimiter
  107.      (which terminates the phone number).  This strange case is still
  108.      the default if you don't give a delimiter parameter, but if you
  109.      give one, both the BBS name and BBS number delimiters become the
  110.      delimiter that you specify.
  111.      Here are the code parameter definitions:
  112.      S = a space delimiter
  113.      , = a comma delimiter
  114.      * = a star delimiter
  115.      . = a period delimiter
  116.      0 = no delimiter (you get the maximum characters for each field)
  117.  
  118.  
  119.   /I?    where ? = 0 through 9
  120.        This is the Ignore parameter code.  This will skip a given number
  121.      of FIELDS in the BBS list, before processing the BBS NAME.
  122.        Note that each field is terminated by a delimiter.  Since I
  123.      originally wrote A2T for a case in which the two delimiters were
  124.      different, the FIRST delimiter (a period) is used for the default
  125.      case.  This can be combined with the D config parameter to use
  126.      a different delimiter.  The delimiter given will only be for the
  127.      BBS name.  The default delimiter of a space will still be used for
  128.      the number.  I put the minimal amount of effort into the I parameter
  129.      but will try to expand upon it in future releases.
  130.        Also note that a delimiter consists of one character.  For example,
  131.      if you are using a space for a delimiter, and you have several spaces
  132.      before the BBS name is to be processed, they are each a field skip
  133.      and must be counted separately.  A total of 9 fields can be skipped.
  134.  
  135.  
  136.    Note: the following config codes must trail a name or phone number code,
  137.      so that is why they are listed AFTER the N or P code.
  138.  
  139.  
  140.   /N??d! where ?? = a 2 digit number, and ! = BBS name delimiter
  141.        This is the BBS name parameter code.  This will move to the Nth
  142.      COLUMN on one line of the BBS list before proceeding to process
  143.      the first field.  This parameter shouldn't be combined with the
  144.      I parameter.
  145.        The ?? field must be a two digit number, and it specifies the
  146.      Nth column to move to before processing the BBS name.  The number
  147.      must be two digits even if less than 10.  i.e. 09 is OK but 9 isn't.
  148.      After the ?? field is processed, a D (or L as described below)
  149.      parameter code is looked for.  In this way, you may specify a unique
  150.      delimiter for the BBS name.  The D parameter follows the same rules
  151.      as the global d parameter, and if left off will default to a period.
  152.        This code can be combined with the following P parameter, and used
  153.      to specify the starting columns for both the BBS name and phone number,
  154.      with unique delimiters for each.  Either the N or the P must be the
  155.      first parameter in the code list, i.e. the first character after the
  156.      backslash.
  157.  
  158.  
  159.   /P??d! where ?? = a 2 digit number, and ! = Phone Number delimiter
  160.        This is the phone number parameter code.  This will move to the Pth
  161.      COLUMN on one line of the BBS list before preceeding to process
  162.      the SECOND field, i.e. the phone number.  This parameter shouldn't
  163.      be combined with the I parameter.
  164.        The ?? field must be a two digit number, and it specifies the
  165.      Pth column to move over before processing the phone number. After
  166.      the ?? field is processed, a D (or L) code will be looked for.
  167.      Again, the ?? field must be a two digit number including numbers
  168.      less than 10, so 08 is OK but 8 isn't.  In this way, you can specify
  169.      a unique delimiter for the phone number.  The d parameter follows the
  170.      same rules as the global D parameter, and if left off will default
  171.      to a space.
  172.        This code can be combined with the preceeding N parameter, and used
  173.      to specify the starting columns for both the BBS name and phone number,
  174.      with unique delimiters for each.  Either the N or the P must be the
  175.      first parameter in the code list, i.e. the first character after the
  176.      backslash.
  177.        NOTE: unless the P parameter is used, the default will be to look
  178.      for the first occurance of digits after the BBS name delimiter or max
  179.      length occurred.
  180.  
  181.  
  182.   /N??L!! where !! = a 2 digit number.
  183.        This is the length parameter code.  This will specify the maximum
  184.      number of columns that either the name or the phone field can occupy.
  185.      This parameter can be added onto either the phone or name code but
  186.      shouldn't be combined with the delimiter parameter.
  187.        It is for the situation where you want to ignore delimiters and
  188.      simply take a specified number of characters beginning at the starting
  189.      column of either the name or the phone field.  The L must be followed
  190.      by a TWO digit parameter specifying the width of the field.  It comes
  191.      in very handy with bbs names that have spaces in the names but no
  192.      delimiter to terminate them.
  193.        If you go over the maximum of 25 characters for the name or 17
  194.      characters for the phone, then you will be given the maximum.
  195.  
  196.  
  197.  
  198.                Setting up the BBS list file:
  199.  
  200.      This is the most important part of the whole deal.  As mentioned
  201.   earlier, I tailored the program after a popular list here in Houston,
  202.   and used the format of that list so that minor modifications to the
  203.   list would render it usable.
  204.      Three characters have special meanings in the ASCII text file.
  205.      They are:
  206.  
  207.      ';' -----> the semicolon in the FIRST COLUMN of the line, is used
  208.         to comment out the whole line.  It is VERY important to
  209.         comment out any line that is not going to be processed!
  210.  
  211.      '.' -----> (or the delimiter you gave on the command line)
  212.         the period is used to terminate the NAME of the BBS.  This
  213.         worked fairly well with Judy's list, although I did have
  214.         to add a terminating period to one or two names, and one
  215.         or two or three names terminated early because they had
  216.         periods in the name.  Telix only allows 25 characters for
  217.         a name, so it is wise to stay below this in your entries.
  218.  
  219.      ' ' -----> (or the delimiter you gave on the command line)
  220.         the space is used to terminate the PHONE NUMBER of the BBS.
  221.         Telix only allows 17 characters for a phone number,
  222.         so it is wise to stay below this in your entries.
  223.  
  224. ;BBS List setup Example:
  225. ;             second is the number, variable length <= 17  (space terminates)
  226. ; Comment line        v
  227. BBS Name.........212-111-1111 Maybe a comment could be here...
  228. ;     ^
  229. ;     the name comes first, variable length <= 25  (period terminates)
  230. ;
  231. ; Note : this is the DEFAULT, you can override these settings with parameters
  232.  
  233.  
  234.      The rest of the information in the ASCII import file will be discarded.
  235.   There are some other givens that you should be aware of.  These are the most
  236.   common settings in a Telix dialing directory for an IBM PC or compatible
  237.   user:
  238.  
  239.      Parity    = NONE
  240.      Data Bits = 8
  241.      Stop Bits = 1
  242.      Protocol  = Zmodem
  243.      Emulation = ANSI-BBS
  244.      Script    = Left Blank
  245.      Password  = Left Blank
  246.  
  247.  
  248. Command line Examples:
  249.      A picture tells 2000 words (that is if you're in text mode)
  250.  
  251. MSDOS_Prompt> A2T [D:path\file] [[D:path\file]]  /config parameter (can appear
  252.              ^              ^             anywhere on command line
  253.              |              |             and consists of strings
  254.              |              |             of codes)
  255.              |              |
  256.              |              |
  257.   This is the optional input file      This is the optional output file
  258.   parameter.  If left off, A2T         parameter which is only accessible
  259.   will assume an input file name       by entering the input parameter.
  260.   of 'input.bbs'.                      If left off, A2T will assume an
  261.                        output filename of 'output.fon'.
  262.  
  263. Config parameter examples:
  264.   Note: the default (with no config parameter) is 2400bps, a period for the
  265.     first delimiter with processing beginning in the first column, and
  266.     a space for the second delimiter with processing beginning where the
  267.     numbers start.  Judy's 80COL.TXT BBS list will compile fairly well
  268.     with no parameters given.  To override these defaults, use config
  269.     parameters.
  270.  
  271. /D,I4          use comma for delimiter, skip 4 fields first
  272.  
  273. /B9DS          use bps rate of 9600, use a space for the delimiter
  274.  
  275. /B1DsI2        use bps of 1200, use a space for delimiter, ignore 1st 2 fields
  276.  
  277. /n01L22p23     start at column 1, use a length of 22 characters for the bbs
  278.           name, and start at column 23 for the phone number use the default
  279.           phone number delimiter of a space.  (a little secret : even though
  280.           I wrote the program defaults with Judy's 80COL.TXT in mind,
  281.           this results in a cleaner looking dial dir)
  282.  
  283. /n01d0p52L08   start looking for the name in col one, with the max width
  284.           for the field.  next get the phone number at col. 52 with a
  285.           length of 8 characters.  This works nicely on Judy's 64COL.TXT
  286.           BBS list.
  287.  
  288. /n12ds         start at the 12th column, use a space for a delimiter.  This
  289.           config works nicely on the PHOENIX Nodelist (with the NetHost
  290.           Lines commented out).  Do not leave this list in the Phoenix
  291.           directory or you will have problems.
  292.  
  293. /n59d0p01      start at the 59th column for the name and don't use a delimiter,
  294.           start at the 1st column for the phone number, use (default) space
  295.           for a delimiter.. this works nicely on USBBS66.LST (the eoln is
  296.           used for the bbs name delimiter, and since it's such a big list,
  297.           it will terminate at 1000 records.)
  298.  
  299. /n17L20p38     start at the 17th column for the name and use a maximum length
  300.           of 20 characters, then start at the 38th column for the phone
  301.           number and use (default) space for a delimiter.  this works nicely on
  302.           WORLDBBS.LST.  (although the format at the end of this list had
  303.           to be commented out since it was very chaotic. --got most of it
  304.           though.)
  305.  
  306.  
  307.  
  308.  
  309. Messages:
  310.   The + and * will click off for every 25 records that have been processed.
  311.  
  312.   If you simply enter :
  313.   MSDOS_Prompt> A2T
  314.   Then a help display will scroll on your screen. (you get same with A2T /?)
  315.  
  316.   "Output file exists.  Hit <ESC> to abort, any other key if OK."
  317.      If the output file you give exists, you will be notified.
  318.   You will be prompted to hit the <ESC> key to abort the compilation if you
  319.   do not want your output file overwritten.  If you hit any other key,
  320.   the compilation will proceed.
  321.  
  322.   "<BEEP>Sorry, one of your config codes has an error, try again."
  323.      The main causes for this message is you have a syntax error in your
  324.   config parameter list.
  325.  
  326.   "<BEEP>Sorry, the input file you gave doesn't exist, try again."
  327.      Self explanatory.
  328.  
  329.   "<BEEP>Sorry, your output/path has a problem, try again."
  330.      Self explanatory.
  331.  
  332.   Version info:
  333.  
  334.      1.0 - 12-24-89 This is it!  The first version.  I hope to add more
  335.             enhancements very soon.
  336.  
  337.      1.1 - 12-24-89 Corrected a problem that occurred when the user
  338.             entered an incorrect bps parameter.
  339.        
  340.      2.0 - 12-25-89 Added more parameter command line options and changed some.
  341.  
  342.      2.1 - 12-26-89 Improved the record processing display.
  343.  
  344.      2.2 - 12-27-89
  345.        * Added the N and P parameters and took away the M
  346.          parameter since the N will do the same thing and more.
  347.        * Improved the record processing display to display both
  348.          reading and writing.
  349.        * Added more error checking.
  350.        * Changed the default output filename to 'OUTPUT.FON'
  351.  
  352.      2.3 - 12-29-89
  353.        * Changed the default input filename to 'INPUT.BBS'.
  354.        * added the help screen for the ? parameter or A2T w/ no parameters.
  355.        * Added more error checking
  356.        * Added the L parameter
  357.  
  358.      2.3c  12-30-89
  359.        * a little better display of the processing
  360.        * a little better display of help
  361.  
  362.      2.3d  1-1-90
  363.        * not much change, just found a few minor errors in the help text.
  364.